package cn.lysj.framework.common.domain;

import cn.lysj.framework.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import java.util.Map;

/**
 * @author zk
 * @description 日志
 * @create 2018-08-13 15:32:38
 **/
@Data
@Entity
@EqualsAndHashCode(callSuper=true)
public class Log extends BaseEntity {
    private String name;//方法操作名称

    private String requestUrl;//请求路径

    private String requestType;//请求类型

    private String requestParam;//请求参数

    private String username;//请求用户

    private String userId; //用户ID

    private String ip;//ip

    private Integer costTime;//花费时间

    private Boolean isSuccess;//是否成功

}